feat: ORA staff grader mfe endpoints upgraded (not for review yet) #2094
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ORA staff grader endpoints upgrade
For this PR we have the following goals:
/api/ora_staff_grader/assessments/feedback
endpoint in order to list the assessments grades based on the type (received or given) for a specific submission./api/ora_staff_grader/initialize
endpoint in order to add thefullname
andemail
fields.Descriptions
/api/ora_staff_grader/assessments/feedback
This endpoint fetches assessment details for a given submission UUID, assessment_fillter [
given
,received
] and ORA_location, including scorer information and scoring details in order to fill the following Staff Grade MFE table:Click here! to see `/api/ora_staff_grader/assessments/feedback` output
/api/ora_staff_grader/initialize
This is a pre-existing endpoint to which two extra fields are added [
fullname
,email
].Modifications were made in the following directories:
Click here! to see `/api/ora_staff_grader/initialize` output
Testing
In order to test this, you can use the API platform Postman:
given
,received
]This upgrade will consist of two PRs: one for ORA and the other for edx-platform. This is because the main serializer of the service resides in the platform. To test it, you'll need to fetch and set up the version of the platform with the serializer modification.